package com.xja.shoppingmall.orders;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2021-12-1519:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "订单实体", description = "服务间调用传递")
public class OrderInfoVo implements Serializable {

    @ApiModelProperty(value="订单ID")
    private Long id;

    @ApiModelProperty(value="订单编号")
    private String orderNo;

    @ApiModelProperty(value="状态",example="-1失效，0未支付，1已支付")
    private String status;

    @ApiModelProperty(value="用户ID")
    private Long userId;
}
